<%--
  Created by IntelliJ IDEA.
  User: 小灰灰
  Date: 2017/7/31
  Time: 16:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>提交文件</title>
</head>
<body>
<% String  name ="张三";
session.setAttribute("username",name);
/*session.getAttribute("username");*/
%>
<form action="/docManagement/file/upload.do/${username}" method="post" enctype="multipart/form-data">
    ${username}
    <input type="file" name="file" />
    <input type="submit" value="Submit" />
</form>

<form action="/docManagement/file/query" method="post">
   <%-- <input type="button" name="query" value="查看"/>--%>
    <input type="submit" value="查看" />
</form>
</body>
</html>
